﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmAp.Operator.Interface;

namespace SmAp.Operator.OP.Sina
{
    public class Emotions : IEmotions
    {
        /// <summary>
        /// 获取新浪表情接口
        /// </summary>
        /// <param name="oauth"></param>
        /// <returns></returns>
        public string GetEmotions(SmApiLibrary.libs.OAuthBase oauth)
        {
            string url = string.Format("http://api.t.sina.com.cn/emotions.json");
            return oauth.OAuthWebRequest(SmApiLibrary.libs.Method.GET, url, null);
        }
    }
}
